(function flexible(window, document) {
  const setRemUnit = () => {
    let rem = document.documentElement.clientWidth / 10;
    rem > 75 && (rem = 75);
    document.documentElement.style.fontSize = `${rem}px`;
  };
  setRemUnit();
  window.onresize = setRemUnit;
}(window, document))
